package com.mt.roll.report.params;


import com.baomidou.mybatisplus.annotation.TableField;
import com.mt.roll.core.base.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author yulianchen
 * @date 2022/3/4   15:51
 * @since 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "基板參數对象", description = "用于新增和更新基板信息")
public class ReportSubstrateParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ApiModelProperty(value = "id", required = true, example = "")
    @NotNull(message = "id不能为空")
    private Long id;

    /**
     * 状态	0初始化，1完成
     */
    @ApiModelProperty(value = "基板状态", required = false, example = "0")
    private Long status;

    /**
     * 基板编码
     */
    @ApiModelProperty(value = "基板编码", required = false, example = "基板编码")
    private String code;

    /**
     * 当前库存存储箱信息关联id
     */
    @ApiModelProperty(value = "当前库存存储箱信息关联id", required = false, example = "1")
    private Long locationStorageSubId;

    /**
     * 库位id
     */
    @ApiModelProperty(value = "库位id", required = false, example = "1")
    private Long locationId;

    /**
     * 库位名
     */
    @ApiModelProperty(value = "库位名", required = false, example = "库位名")
    private String locationName;

    /**
     * 存储箱id
     */
    @ApiModelProperty(value = "存储箱id", required = false, example = "1")
    private Long storageId;

    /**
     * 存储箱号
     */
    @ApiModelProperty(value = "存储箱号", required = false, example = "存储箱号")
    private String storageBoxFid;

    /**
     * 基板id
     */
    @ApiModelProperty(value = "基板id", required = false, example = "基板id")
    private String subCode;

    /**
     * 存储箱层
     */
    @ApiModelProperty(value = "存储箱层", required = false, example = "1")
    private Integer storageLevel;

    /**
     * 基板类型
     */
    @ApiModelProperty(value = "基板类型", required = false, example = "1")
    private Integer subType;

}
